let state = {
  headerMenu: sessionStorage.getItem("menu")
};

let mutations = {
  setCurrentMenu(state, data) {
    state.headerMenu = data;
    sessionStorage.setItem("menu", data);
  }
};

export default {
  state,
  mutations
};
